require 'Size'
class AddDefaultSize < ActiveRecord::Migration
  def self.up
    size = Size.create(:name=>  "Fine"  ,:hp=>  1, :hardness=>  0)
    size.save!
    size = Size.create(:name=>  "Diminutve",  :hp=>  3, :hardness=>  1)
    size.save!
    size = Size.create(:name=>  "Tiny",  :hp=>  5, :hardness=>  3)
    size.save!
    size = Size.create(:name=>  "Small", :hp=>  10,  :hardness=>  5)
    size.save!
    size = Size.create(:name=>  "Medium",  :hp=>  20,  :hardness=>  5)
    size.save!
    size = Size.create(:name=>  "Large", :hp=>  40,  :hardness=>  5)
    size.save!
    size = Size.create(:name=>  "Huge",  :hp=>  80,  :hardness=>  5)
    size.save!
    size = Size.create(:name=>  "Gargantuan",  :hp=>  160, :hardness=>  5)
    size.save!
    size = Size.create(:name=>  "Colossal",  :hp=>  320, :hardness=>  5)
    size.save!
  end

  def self.down
    Size.delete_all
  end
end
